removed excess files
[EroBeats.git] / Djinn and Tonic - Erobeats / Settings.h
blob583d2b3fad17b636af1dfaa8790051b51d1a362e
1 #pragma once
3 #include "ScreenTemplate.h"
5 #include "FileIO.h"
6 #include "ResourceMaster.h"
7 #include "Fonts.h"
8 #include "Animation.h"
9 #include "SFX.h"
10 #include "MessageBox.h"
12 #include<SDL/SDL.h>
13 #include <SDL TTF/SDL_ttf .h>
14 #include <chrono>
16 using namespace std;
17 class Settings : ScreenTemplate
19 public:
20 Settings();
21 Settings(int* screenPointer, FileIO* filePntr, ResourceMaster* resourcePointer);
22 ~Settings();
24 void update();
25 void play();
26 void render();
27 void close();
29 void initializeTextures();
30 void destroyFonts();
32 void reloadLanguage(std::string lang);
34 bool hoverLarge;
35 bool hoverMedium;
36 bool hoverSmall;
37 bool hoverClear;
38 bool hoverQuit;
40 bool hoverSFXBar[4];
41 bool hoverBGMBar[4];
43 bool hoverEN;
44 bool hoverFR;
45 bool hoverJP;
47 bool playedOnce;
48 bool clickPlayedOnce;
50 bool* hoverAddress;
51 bool* hoverAddressOld;
53 int clickCooldown;
55 int settings;
56 int displayNumberSFX;
57 int displayNumberBGM;
59 Animation* outlineAnimation;
61 SDL_Texture* textResolution;
62 SDL_Rect rectResolution;
64 //SDL_Texture* textLarge;
65 //SDL_Rect rectLarge;
67 SDL_Texture* textMedium;
68 SDL_Rect rectMedium;
70 //SDL_Texture* textSmall;
71 //SDL_Rect rectSmall;
73 SDL_Texture* textBGMLevel;
74 SDL_Rect rectBGMLevel;
76 SDL_Texture* textBGMIcon;
77 SDL_Rect rectBGMIcon;
79 SDL_Texture* textSFXLevel;
80 SDL_Rect rectSFXLevel;
82 SDL_Texture* textSFXIcon;
83 SDL_Rect rectSFXIcon;
85 SDL_Texture* textBars;
86 SDL_Rect SFXBarLocations[4];
87 SDL_Rect BGMBarLocations[4];
89 SDL_Texture* languageTitle;
90 SDL_Rect rectTitleLocation;
92 SDL_Texture* languageEN;
93 SDL_Rect rectENLocation;
95 SDL_Texture* languageFR;
96 SDL_Rect rectFRLocation;
98 SDL_Texture* languageJP;
99 SDL_Rect rectJPLocation;
101 SDL_Texture* textQuit;
102 SDL_Rect rectQuit;
105 SDL_Texture* textClear;
106 SDL_Rect rectClear;
108 SDL_Rect rectTextSize;